---
image: /generated/articles-docs-editor-starter-backend-routes.png
title: Backend routes in the Editor Starter
sidebar_label: Backend routes
id: backend-routes
crumb: Editor Starter
---

Some backend endpoints must be implemented by for all features to work.  
The default implementation uses the React Router 7 framework.

### `POST /api/captions`

Used to generate captions for a video based on an audio file.

- [Reference implementation using React Router 7](https://github.com/remotion-dev/editor-starter/blob/main/src/routes/api/captions.ts)
- [Implementation using Next.js](https://gist.github.com/MehmetAdemi/545f0fcdf2f8b8f9edbbc5146bde0a74)
- [See usages](https://github.com/search?q=repo%3Aremotion-dev%2Feditor-starter%20%2Fapi%2Fcaptions&type=code)

### `GET /api/font/:name`

Returns the metadata for a specific font, such as available weights and styles and their corresponding Google Fonts URLs.  
This information is provided by the backend because the metadata of all default fonts would be more than 10MB.

- [Reference implementation using React Router 7](https://github.com/remotion-dev/editor-starter/blob/main/src/routes/api/font.ts)
- [Implementation using Next.js](https://gist.github.com/MehmetAdemi/4ddefd93123d718cbfdbc3190d2e8434)
- [See usages](https://github.com/search?q=repo%3Aremotion-dev%2Feditor-starter%20%2Fapi%2Ffont&type=code)

### `POST /api/upload`

Needed to create a presigned URL for uploading a file to S3.

- [Reference implementation using React Router 7](https://github.com/remotion-dev/editor-starter/blob/main/src/routes/api/upload.ts)
- [Implementation using Next.js](https://gist.github.com/MehmetAdemi/a1c83d97fcaf2c773c2913dbd2471de0)
- [See usages](https://github.com/search?q=repo%3Aremotion-dev%2Feditor-starter%20%2Fapi%2Fupload&type=code)

### `POST /api/render`

Triggers a render on Remotion Lambda.

- [Reference implementation using React Router 7](https://github.com/remotion-dev/editor-starter/blob/main/src/routes/api/render.ts)
- [Implementation using Next.js](https://gist.github.com/MehmetAdemi/a96784de92ee91e4907bdedb20e6b90c)
- [See usages](https://github.com/search?q=repo%3Aremotion-dev%2Feditor-starter%20%2Fapi%2Frender&type=code)

### `POST /api/progress`

Gets the current progress of a render on Remotion Lambda.

- [Reference implementation using React Router 7](https://github.com/remotion-dev/editor-starter/blob/main/src/routes/api/progress.ts)
- [Implementation using Next.js](https://gist.github.com/MehmetAdemi/15c21e1b847e5e79e7df7b2c4d5dc494)
- [See usages](https://github.com/search?q=repo%3Aremotion-dev%2Feditor-starter%20%2Fapi%2Fprogress&type=code)
